{% extends "base.html" %}
{% load static %}
{% block title %}创建{% endblock %}
{% block css %}<link rel="stylesheet" href="{% static 'css/update_teleplay.css' %}">{% endblock %}
{% block content %}

<div class="update-form">
    <div class="status">{{ status | default_if_none:"" }}</div>
    <h3>新增</h3>
    <form method="post">
        {% csrf_token %}
        <div class="update-info">
            <span class="update-key">主题</span>
            <input class="update-value" type="text" name="theme" value='{{ result.theme }}'> 
        </div>
        <div class="update-info">
            <span class="update-key">标题</span>
            <input class="update-value" type="text" name="title" value='{{ result.title }}'> 
        </div>
        <div class="update-info">
            <span class="update-key">季数</span>
            <input class="update-value" type="text" name="season" list="seasonlist"> 
            <datalist id="seasonlist">
                <option>第一季</option>
                <option>第二季</option>
                <option>第三季</option>
            </datalist> 
        </div>
        <div class="update-info">
            <span class="update-key">副标题</span>
            <input class="update-value" type="text" name="subtitle"> 
        </div>
        <div class="update-info">
            <span class="update-key">集数</span>
            <input class="update-value" type="text" id="episodes" name="episodes"> 
        </div>
        <div class="update-info">
            <span class="update-key">时长</span>
            <input class="update-value" type="text" id="duration" placeholder="以min为单位" name="duration"> 
        </div>
        <div class="update-info">
            <span class="update-key">开播日期</span>
            <input class="update-value" type="text" id="date_start" name="date_start"> 
        </div>
        <div class="update-info">
            <span class="update-key">完播日期</span>
            <input class="update-value" type="text" id="date_end" name="date_end"> 
        </div>
        <div class="update-info">
            <span class="update-key">制作公司</span>
            <input class="update-value" type="text" name="producer"  value='{{ result.producer }}'> 
        </div>
        <div class="update-info">
            <span class="update-key">导演</span>
            <input class="update-value" type="text" name="director"  value='{{ result.director }}'> 
        </div>
        

        <input type="submit" value="提交">
</div>

<script>



</script>
    
{% endblock %}